package com.ama.dao;

import com.ama.pojo.Build;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BuildDao extends BaseMapper<Build> {
    int deleteByPrimaryKey(Long buildId);

    int insertBuild(Build build);

    int insertSelective(Build build);

    Build selectByPrimaryKey(Long build);

    List<Build> selectByEstateId(Long estateId);

    int updateByPrimaryKeySelective(Build build);

    int updateByPrimaryKey(Build build);
}